import reaction from './reaction';

let autorun = (handler)=>{
  reaction.start(handler);
  handler()
  reaction.end();
}

export default autorun;